package com.yicong.ants.bean.circle;

/**
 * @author cch
 * @version 2020/11/3
 */
public class AdReturn {
    private String unit_price;

    public AdReturn() {
    }

    public String getUnit_price() {
        return this.unit_price;
    }

    public void setUnit_price(String unit_price) {
        this.unit_price = unit_price;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof AdReturn)) return false;
        final AdReturn other = (AdReturn) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$unit_price = this.getUnit_price();
        final Object other$unit_price = other.getUnit_price();
        if (this$unit_price == null ? other$unit_price != null : !this$unit_price.equals(other$unit_price))
            return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof AdReturn;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $unit_price = this.getUnit_price();
        result = result * PRIME + ($unit_price == null ? 43 : $unit_price.hashCode());
        return result;
    }

    public String toString() {
        return "AdReturn(unit_price=" + this.getUnit_price() + ")";
    }
}
